﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities;

namespace OrderTrace
{
    public class Tpopf001:Entity<Guid>
    {
        /// <summary>
        /// 订单号
        /// </summary>

        [StringLength(100)]
        [Column("ORDER_NO")]
        public virtual String OrderNo { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>

        [StringLength(2)]
        [Column("ORDER_STATUS")]
        public virtual String OrderStatus { get; set; }

        /// <summary>
        /// 定制订单状态
        /// </summary>

        [StringLength(2)]
        [Column("CUST_ORDER_STATUS")]
        public virtual String CustOrderStatus { get; set; }

        /// <summary>
        /// 产品分类
        /// </summary>

        [StringLength(4)]
        [Column("PROD_DIF")]
        public virtual String ProdDif { get; set; }
 

        /// <summary>
        /// 需生产重量
        /// </summary>

        [Column("REQR_PROD_WT")]
        public virtual Decimal ReqrProdWt { get; set; }

        /// <summary>
        /// 需生产件数
        /// </summary>

        [Column("REQR_PROD_NUM")]
        public virtual Int32 ReqrProdNum { get; set; }

        /// <summary>
        /// 需生产根数
        /// </summary>

        [Column("REQR_PROD_TUBE")]
        public virtual Int32 ReqrProdTube { get; set; }

        /// <summary>
        /// 需生产长度
        /// </summary>

        [Column("REQR_PROD_LEN")]
        public virtual Int32 ReqrProdLen { get; set; }

       

        /// <summary>
        /// 订单原状态
        /// </summary>

        [StringLength(2)]
        [Column("ORDER_OLD_STATUS")]
        public virtual String OrderOldStatus { get; set; }

       

        /// <summary>
        /// 制程号
        /// </summary>

        [Column("WHOLE_BACKLOG_NO")]
        public virtual Int32 WholeBacklogNo { get; set; }

        /// <summary>
        /// 全程工序途径码
        /// </summary>

        [StringLength(50)]
        [Column("WHOLE_BACKLOG")]
        public virtual String WholeBacklog { get; set; }

        /// <summary>
        /// 订单创建时间
        /// </summary>

        [StringLength(14)]
        [Column("ORDER_CREATE_TIME")]
        public virtual String OrderCreateTime { get; set; }

         
        

        /// <summary>
        /// 订单分类
        /// </summary>

        [StringLength(1)]
        [Column("ORDER_TYPE")]
        public virtual String OrderType { get; set; }

        /// <summary>
        /// 归并类型
        /// </summary>

        [StringLength(2)]
        [Column("MERG_TYPE")]
        public virtual String MergType { get; set; }

        /// <summary>
        /// 归并订单号
        /// </summary>

        [StringLength(20)]
        [Column("MERG_ORDER_NO")]
        public virtual String MergOrderNo { get; set; }

      
    }
}
